package com.zhouyu.service;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @ClassName:UserServiceFactory
 * @Auther: xierongchang
 * @Description:
 * @Date: 2024/6/18 21:48
 * @Version: v1.0.0
 */
@Component
public class UserServiceFactory implements FactoryBean {


	@Override
	public Object getObject() throws Exception {
		return new User();
	}

	@Override
	public Class<?> getObjectType() {
		return null;
	}
}
